﻿using System;
using System.Collections.Generic;

namespace FPPrinter.Models.SourceFiles
{
    public interface ISourceFileManager: IDisposable
    {
        // void AddFiles( params string[] files );


        /// <summary>
        /// analysis the files
        /// </summary>
        /// <param name="files"></param>
        /// <returns>(shorts,longs,totalfiles)</returns>
        (int S, int L, int T) Analysis( params string[] files );
        
        IEnumerable<ISourceFile> Files { get; }
        string RootLatest { get; }
        event EventHandler<IEnumerable<ISourceFile>> FilesChanged;
        void Clear();
        void Remove(string url);
    }
}